# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less2_03
# Description:  递归
# Author:       asus
# Date:         2019/3/9
#-------------------------------------------------------------------------------


def fn1(i):
    if i == 0:
        return 1
    else:
        print(i)
        return i * fn1(i-1)

if __name__ == '__main__':
    ret = fn1(10)
    print(ret)